#pragma once

#include <stdio.h>
#include <time.h>
#include <stdlib.h>

void HeapSort(int* a, int n);

void AdjustUp(int* a, int child);

void AdjustDown(int* a, int n, int parent);

void Swap(int* p1, int* p2);